<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DM-CtrlH7-BF-DevProgram: C:/Users/ASUS/Desktop/dm-ctrlH7-balance-9025test/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="50x5.png"/></td>
  <td id="projectalign">
   <div id="projectname">DM-CtrlH7-BF-DevProgram<span id="projectnumber">&#160;beta 0.1</span>
   </div>
   <div id="projectbrief">C.ONE Studio Damiao Development Board Framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(function(){initNavTree('stm32h7xx__hal__gpio_8h.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">stm32h7xx_hal_gpio.h File Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Header file of GPIO HAL module.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="stm32h7xx__hal__def_8h_source.html">stm32h7xx_hal_def.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="stm32h7xx__hal__gpio__ex_8h_source.html">stm32h7xx_hal_gpio_ex.h</a>&quot;</code><br />
</div>
<p><a href="stm32h7xx__hal__gpio_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-nested-classes" class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:GPIO_5FInitTypeDef" id="r_GPIO_5FInitTypeDef"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_g_p_i_o___init_type_def.html">GPIO_InitTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Init structure definition.  <a href="struct_g_p_i_o___init_type_def.html#details">More...</a><br /></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-define-members" class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga176efbf43a259b7bb0a85a47401505be" id="r_ga176efbf43a259b7bb0a85a47401505be"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_0</b>&#160;&#160;&#160;((uint16_t)0x0001)  /* Pin 0 selected    */</td></tr>
<tr class="memitem:ga6c35af4e75c3cb57bb650feaa7a136b5" id="r_ga6c35af4e75c3cb57bb650feaa7a136b5"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_1</b>&#160;&#160;&#160;((uint16_t)0x0002)  /* Pin 1 selected    */</td></tr>
<tr class="memitem:ga6eee38b797a7268f04357dfa2759efd2" id="r_ga6eee38b797a7268f04357dfa2759efd2"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_2</b>&#160;&#160;&#160;((uint16_t)0x0004)  /* Pin 2 selected    */</td></tr>
<tr class="memitem:gadcaf899c018a0dde572b5af783565c62" id="r_gadcaf899c018a0dde572b5af783565c62"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_3</b>&#160;&#160;&#160;((uint16_t)0x0008)  /* Pin 3 selected    */</td></tr>
<tr class="memitem:gab3871e35868deecd260e586ad70d4b83" id="r_gab3871e35868deecd260e586ad70d4b83"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_4</b>&#160;&#160;&#160;((uint16_t)0x0010)  /* Pin 4 selected    */</td></tr>
<tr class="memitem:ga01cc9ed93f6fd12fd3403362779aaa18" id="r_ga01cc9ed93f6fd12fd3403362779aaa18"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_5</b>&#160;&#160;&#160;((uint16_t)0x0020)  /* Pin 5 selected    */</td></tr>
<tr class="memitem:ga9089f18f20ec88ee38ce6f27389e6d7e" id="r_ga9089f18f20ec88ee38ce6f27389e6d7e"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_6</b>&#160;&#160;&#160;((uint16_t)0x0040)  /* Pin 6 selected    */</td></tr>
<tr class="memitem:ga482cb86c2f036e630661a41e8986bcfe" id="r_ga482cb86c2f036e630661a41e8986bcfe"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_7</b>&#160;&#160;&#160;((uint16_t)0x0080)  /* Pin 7 selected    */</td></tr>
<tr class="memitem:gaf5eb6a42a4428e236bd4fd08ade71e7a" id="r_gaf5eb6a42a4428e236bd4fd08ade71e7a"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_8</b>&#160;&#160;&#160;((uint16_t)0x0100)  /* Pin 8 selected    */</td></tr>
<tr class="memitem:ga4c503cb4a0dc0d18261080051d9c2daf" id="r_ga4c503cb4a0dc0d18261080051d9c2daf"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_9</b>&#160;&#160;&#160;((uint16_t)0x0200)  /* Pin 9 selected    */</td></tr>
<tr class="memitem:gac102c0123cb8bcadc5b590cd940b9e20" id="r_gac102c0123cb8bcadc5b590cd940b9e20"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_10</b>&#160;&#160;&#160;((uint16_t)0x0400)  /* Pin 10 selected   */</td></tr>
<tr class="memitem:ga79f6797ea82c1fb25cd6c0e14e44d312" id="r_ga79f6797ea82c1fb25cd6c0e14e44d312"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_11</b>&#160;&#160;&#160;((uint16_t)0x0800)  /* Pin 11 selected   */</td></tr>
<tr class="memitem:ga95f9ce5911fa8b209defb969db93ced3" id="r_ga95f9ce5911fa8b209defb969db93ced3"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_12</b>&#160;&#160;&#160;((uint16_t)0x1000)  /* Pin 12 selected   */</td></tr>
<tr class="memitem:ga173023dced8f9692ade0f1176558ef70" id="r_ga173023dced8f9692ade0f1176558ef70"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_13</b>&#160;&#160;&#160;((uint16_t)0x2000)  /* Pin 13 selected   */</td></tr>
<tr class="memitem:ga315b4dc1a0c1f9021b3d3a8fe9ccc0c3" id="r_ga315b4dc1a0c1f9021b3d3a8fe9ccc0c3"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_14</b>&#160;&#160;&#160;((uint16_t)0x4000)  /* Pin 14 selected   */</td></tr>
<tr class="memitem:ga77be5756e80bcdf18e1aa39b35d1d640" id="r_ga77be5756e80bcdf18e1aa39b35d1d640"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_15</b>&#160;&#160;&#160;((uint16_t)0x8000)  /* Pin 15 selected   */</td></tr>
<tr class="memitem:gac04170878de13aa9785f6bd666c9faa5" id="r_gac04170878de13aa9785f6bd666c9faa5"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_All</b>&#160;&#160;&#160;((uint16_t)0xFFFF)  /* All pins selected */</td></tr>
<tr class="memitem:gab135afee57cdef0f647ab153f88b6d2f" id="r_gab135afee57cdef0f647ab153f88b6d2f"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_PIN_MASK</b>&#160;&#160;&#160;(0x0000FFFFU) /* PIN mask for assert test */</td></tr>
<tr class="memitem:gaf40bec3146810028a84b628d37d3b391" id="r_gaf40bec3146810028a84b628d37d3b391"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#gaf40bec3146810028a84b628d37d3b391">GPIO_MODE_INPUT</a>&#160;&#160;&#160;MODE_INPUT</td></tr>
<tr class="memitem:ga1013838a64cec2f8c88f079c449d1982" id="r_ga1013838a64cec2f8c88f079c449d1982"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#ga1013838a64cec2f8c88f079c449d1982">GPIO_MODE_OUTPUT_PP</a>&#160;&#160;&#160;(MODE_OUTPUT | OUTPUT_PP)</td></tr>
<tr class="memitem:ga2f91757829f6e9505ec386b840941929" id="r_ga2f91757829f6e9505ec386b840941929"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#ga2f91757829f6e9505ec386b840941929">GPIO_MODE_OUTPUT_OD</a>&#160;&#160;&#160;(MODE_OUTPUT | OUTPUT_OD)</td></tr>
<tr class="memitem:ga526c72c5264316fc05c775b6cad4aa6a" id="r_ga526c72c5264316fc05c775b6cad4aa6a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#ga526c72c5264316fc05c775b6cad4aa6a">GPIO_MODE_AF_PP</a>&#160;&#160;&#160;(MODE_AF | OUTPUT_PP)</td></tr>
<tr class="memitem:ga282b9fd37c8ef31daba314ffae6bf023" id="r_ga282b9fd37c8ef31daba314ffae6bf023"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#ga282b9fd37c8ef31daba314ffae6bf023">GPIO_MODE_AF_OD</a>&#160;&#160;&#160;(MODE_AF | OUTPUT_OD)</td></tr>
<tr class="memitem:ga7a04f9ab65ad572ad20791a35009220c" id="r_ga7a04f9ab65ad572ad20791a35009220c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#ga7a04f9ab65ad572ad20791a35009220c">GPIO_MODE_ANALOG</a>&#160;&#160;&#160;MODE_ANALOG</td></tr>
<tr class="memitem:ga088659562e68426d9a72821ea4fd8d50" id="r_ga088659562e68426d9a72821ea4fd8d50"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#ga088659562e68426d9a72821ea4fd8d50">GPIO_MODE_IT_RISING</a>&#160;&#160;&#160;(MODE_INPUT | EXTI_IT | TRIGGER_RISING)</td></tr>
<tr class="memitem:gaa166210a6da3ac7e8d7504702520e522" id="r_gaa166210a6da3ac7e8d7504702520e522"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#gaa166210a6da3ac7e8d7504702520e522">GPIO_MODE_IT_FALLING</a>&#160;&#160;&#160;(MODE_INPUT | EXTI_IT | TRIGGER_FALLING)</td></tr>
<tr class="memitem:ga0678e61090ed61e91a6496f22ddfb3d1" id="r_ga0678e61090ed61e91a6496f22ddfb3d1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#ga0678e61090ed61e91a6496f22ddfb3d1">GPIO_MODE_IT_RISING_FALLING</a>&#160;&#160;&#160;(MODE_INPUT | EXTI_IT | TRIGGER_RISING | TRIGGER_FALLING)</td></tr>
<tr class="memitem:ga97d78b82ea178ff7a4c35aa60b4e9338" id="r_ga97d78b82ea178ff7a4c35aa60b4e9338"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#ga97d78b82ea178ff7a4c35aa60b4e9338">GPIO_MODE_EVT_RISING</a>&#160;&#160;&#160;(MODE_INPUT | EXTI_EVT | TRIGGER_RISING)</td></tr>
<tr class="memitem:gadbfa532b3566783ac6c0e07c2e0ffe5e" id="r_gadbfa532b3566783ac6c0e07c2e0ffe5e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#gadbfa532b3566783ac6c0e07c2e0ffe5e">GPIO_MODE_EVT_FALLING</a>&#160;&#160;&#160;(MODE_INPUT | EXTI_EVT | TRIGGER_FALLING)</td></tr>
<tr class="memitem:ga1b760771297ed2fc55a6b13071188491" id="r_ga1b760771297ed2fc55a6b13071188491"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__mode__define.html#ga1b760771297ed2fc55a6b13071188491">GPIO_MODE_EVT_RISING_FALLING</a>&#160;&#160;&#160;(MODE_INPUT | EXTI_EVT | TRIGGER_RISING | TRIGGER_FALLING)</td></tr>
<tr class="memitem:gab7916c4265bfa1b26a5205ea9c1caa4e" id="r_gab7916c4265bfa1b26a5205ea9c1caa4e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__speed__define.html#gab7916c4265bfa1b26a5205ea9c1caa4e">GPIO_SPEED_FREQ_LOW</a>&#160;&#160;&#160;(0x00000000U)</td></tr>
<tr class="memitem:ga1724a25a9cf00ebf485daeb09cfa1e25" id="r_ga1724a25a9cf00ebf485daeb09cfa1e25"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__speed__define.html#ga1724a25a9cf00ebf485daeb09cfa1e25">GPIO_SPEED_FREQ_MEDIUM</a>&#160;&#160;&#160;(0x00000001U)</td></tr>
<tr class="memitem:gaef5898db71cdb957cd41f940b0087af8" id="r_gaef5898db71cdb957cd41f940b0087af8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__speed__define.html#gaef5898db71cdb957cd41f940b0087af8">GPIO_SPEED_FREQ_HIGH</a>&#160;&#160;&#160;(0x00000002U)</td></tr>
<tr class="memitem:ga1944cf10e2ab172810d38b681d40b771" id="r_ga1944cf10e2ab172810d38b681d40b771"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__speed__define.html#ga1944cf10e2ab172810d38b681d40b771">GPIO_SPEED_FREQ_VERY_HIGH</a>&#160;&#160;&#160;(0x00000003U)</td></tr>
<tr class="memitem:ga5c2862579882c1cc64e36d38fbd07a4c" id="r_ga5c2862579882c1cc64e36d38fbd07a4c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__pull__define.html#ga5c2862579882c1cc64e36d38fbd07a4c">GPIO_NOPULL</a>&#160;&#160;&#160;(0x00000000U)</td></tr>
<tr class="memitem:gae689bc8f5c42d6df7bd54a8dd372e072" id="r_gae689bc8f5c42d6df7bd54a8dd372e072"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__pull__define.html#gae689bc8f5c42d6df7bd54a8dd372e072">GPIO_PULLUP</a>&#160;&#160;&#160;(0x00000001U)</td></tr>
<tr class="memitem:ga75d958d0410c36da7f27d1f4f5c36c14" id="r_ga75d958d0410c36da7f27d1f4f5c36c14"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o__pull__define.html#ga75d958d0410c36da7f27d1f4f5c36c14">GPIO_PULLDOWN</a>&#160;&#160;&#160;(0x00000002U)</td></tr>
<tr class="memitem:gaae18fc8d92ffa4df2172c78869e712fc" id="r_gaae18fc8d92ffa4df2172c78869e712fc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___exported___macros.html#gaae18fc8d92ffa4df2172c78869e712fc">__HAL_GPIO_EXTI_GET_FLAG</a>(__EXTI_LINE__)</td></tr>
<tr class="memdesc:gaae18fc8d92ffa4df2172c78869e712fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified EXTI line flag is set or not.  <br /></td></tr>
<tr class="memitem:ga2f28fc349d1812cdc55a77c68d2b278d" id="r_ga2f28fc349d1812cdc55a77c68d2b278d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___exported___macros.html#ga2f28fc349d1812cdc55a77c68d2b278d">__HAL_GPIO_EXTI_CLEAR_FLAG</a>(__EXTI_LINE__)</td></tr>
<tr class="memdesc:ga2f28fc349d1812cdc55a77c68d2b278d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the EXTI's line pending flags.  <br /></td></tr>
<tr class="memitem:ga27f0e1f6c38745169d74620f6a178a94" id="r_ga27f0e1f6c38745169d74620f6a178a94"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___exported___macros.html#ga27f0e1f6c38745169d74620f6a178a94">__HAL_GPIO_EXTI_GET_IT</a>(__EXTI_LINE__)</td></tr>
<tr class="memdesc:ga27f0e1f6c38745169d74620f6a178a94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified EXTI line is asserted or not.  <br /></td></tr>
<tr class="memitem:ga2a086506eec826f49b200fba64beb9f1" id="r_ga2a086506eec826f49b200fba64beb9f1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___exported___macros.html#ga2a086506eec826f49b200fba64beb9f1">__HAL_GPIO_EXTI_CLEAR_IT</a>(__EXTI_LINE__)</td></tr>
<tr class="memdesc:ga2a086506eec826f49b200fba64beb9f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the EXTI's line pending bits.  <br /></td></tr>
<tr class="memitem:gac50aef6881e1f76032941ead9c9bce61" id="r_gac50aef6881e1f76032941ead9c9bce61"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___exported___macros.html#gac50aef6881e1f76032941ead9c9bce61">__HAL_GPIO_EXTI_GENERATE_SWIT</a>(__EXTI_LINE__)</td></tr>
<tr class="memdesc:gac50aef6881e1f76032941ead9c9bce61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a Software interrupt on selected EXTI line.  <br /></td></tr>
<tr class="memitem:ga46e17845a1dfa2827eceb154e992b525" id="r_ga46e17845a1dfa2827eceb154e992b525"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_MODE_Pos</b>&#160;&#160;&#160;0u</td></tr>
<tr class="memitem:ga9f30425211b75e4ab36c4e7cbea06a41" id="r_ga9f30425211b75e4ab36c4e7cbea06a41"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GPIO_MODE</b>&#160;&#160;&#160;(0x3uL &lt;&lt; GPIO_MODE_Pos)</td></tr>
<tr class="memitem:ga89aaf2dc63dbfb7a60898372d496a56c" id="r_ga89aaf2dc63dbfb7a60898372d496a56c"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MODE_INPUT</b>&#160;&#160;&#160;(0x0uL &lt;&lt; GPIO_MODE_Pos)</td></tr>
<tr class="memitem:ga3b23ec3cf56d4fc73dd1185b7f2792d6" id="r_ga3b23ec3cf56d4fc73dd1185b7f2792d6"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MODE_OUTPUT</b>&#160;&#160;&#160;(0x1uL &lt;&lt; GPIO_MODE_Pos)</td></tr>
<tr class="memitem:ga60ce9a309c9629a88569a919d84313c1" id="r_ga60ce9a309c9629a88569a919d84313c1"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MODE_AF</b>&#160;&#160;&#160;(0x2uL &lt;&lt; GPIO_MODE_Pos)</td></tr>
<tr class="memitem:ga6184043271806f6f261da2471fbb22be" id="r_ga6184043271806f6f261da2471fbb22be"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MODE_ANALOG</b>&#160;&#160;&#160;(0x3uL &lt;&lt; GPIO_MODE_Pos)</td></tr>
<tr class="memitem:gafe471d87fbc31effdccdf78ec66dfd15" id="r_gafe471d87fbc31effdccdf78ec66dfd15"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>OUTPUT_TYPE_Pos</b>&#160;&#160;&#160;4u</td></tr>
<tr class="memitem:gaf282b119b7274dd3e3beb01a18ae9803" id="r_gaf282b119b7274dd3e3beb01a18ae9803"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>OUTPUT_TYPE</b>&#160;&#160;&#160;(0x1uL &lt;&lt; OUTPUT_TYPE_Pos)</td></tr>
<tr class="memitem:ga282324fff426c331d129b53d159ea008" id="r_ga282324fff426c331d129b53d159ea008"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>OUTPUT_PP</b>&#160;&#160;&#160;(0x0uL &lt;&lt; OUTPUT_TYPE_Pos)</td></tr>
<tr class="memitem:gaea041a6db0843f4b27a6a39b829d56e7" id="r_gaea041a6db0843f4b27a6a39b829d56e7"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>OUTPUT_OD</b>&#160;&#160;&#160;(0x1uL &lt;&lt; OUTPUT_TYPE_Pos)</td></tr>
<tr class="memitem:gac27495ace01f8e82684b3b82bd920e17" id="r_gac27495ace01f8e82684b3b82bd920e17"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXTI_MODE_Pos</b>&#160;&#160;&#160;16u</td></tr>
<tr class="memitem:ga50756019598a98c1dd294fb6c54da638" id="r_ga50756019598a98c1dd294fb6c54da638"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXTI_MODE</b>&#160;&#160;&#160;(0x3uL &lt;&lt; EXTI_MODE_Pos)</td></tr>
<tr class="memitem:ga81df8693ca52b68e306ba007a99b2d4d" id="r_ga81df8693ca52b68e306ba007a99b2d4d"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXTI_IT</b>&#160;&#160;&#160;(0x1uL &lt;&lt; EXTI_MODE_Pos)</td></tr>
<tr class="memitem:ga51a5ff147c0774ad7c7ff954be7328b1" id="r_ga51a5ff147c0774ad7c7ff954be7328b1"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXTI_EVT</b>&#160;&#160;&#160;(0x2uL &lt;&lt; EXTI_MODE_Pos)</td></tr>
<tr class="memitem:gaebb89365408d0b9eb230b49b39d2db43" id="r_gaebb89365408d0b9eb230b49b39d2db43"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TRIGGER_MODE_Pos</b>&#160;&#160;&#160;20u</td></tr>
<tr class="memitem:gaae6a22a29315c180fb982bf349acbf29" id="r_gaae6a22a29315c180fb982bf349acbf29"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TRIGGER_MODE</b>&#160;&#160;&#160;(0x7uL &lt;&lt; TRIGGER_MODE_Pos)</td></tr>
<tr class="memitem:gae41780e16294f38d4a092f3bd8511473" id="r_gae41780e16294f38d4a092f3bd8511473"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TRIGGER_RISING</b>&#160;&#160;&#160;(0x1uL &lt;&lt; TRIGGER_MODE_Pos)</td></tr>
<tr class="memitem:ga79c022a14dc50cb5433c9f40dcd98463" id="r_ga79c022a14dc50cb5433c9f40dcd98463"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TRIGGER_FALLING</b>&#160;&#160;&#160;(0x2uL &lt;&lt; TRIGGER_MODE_Pos)</td></tr>
<tr class="memitem:gaa072131ba22ccb90d9e4e85bb721004f" id="r_gaa072131ba22ccb90d9e4e85bb721004f"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TRIGGER_LEVEL</b>&#160;&#160;&#160;(0x4uL &lt;&lt; TRIGGER_MODE_Pos)</td></tr>
<tr class="memitem:ga6da646a4924c5cfae3024c660476f26f" id="r_ga6da646a4924c5cfae3024c660476f26f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___private___macros.html#ga6da646a4924c5cfae3024c660476f26f">IS_GPIO_PIN_ACTION</a>(ACTION)</td></tr>
<tr class="memitem:ga4911823233fa2bf64a4f04c6dbfa5485" id="r_ga4911823233fa2bf64a4f04c6dbfa5485"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___private___macros.html#ga4911823233fa2bf64a4f04c6dbfa5485">IS_GPIO_PIN</a>(__PIN__)</td></tr>
<tr class="memitem:gacc5fde3eef57ec3c558c11d0011d900c" id="r_gacc5fde3eef57ec3c558c11d0011d900c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___private___macros.html#gacc5fde3eef57ec3c558c11d0011d900c">IS_GPIO_MODE</a>(MODE)</td></tr>
<tr class="memitem:ga888e1f951df2fe9dbf827528051a3a56" id="r_ga888e1f951df2fe9dbf827528051a3a56"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___private___macros.html#ga888e1f951df2fe9dbf827528051a3a56">IS_GPIO_SPEED</a>(SPEED)</td></tr>
<tr class="memitem:ga1cb9706d23fb79584aae41e5e503f3cd" id="r_ga1cb9706d23fb79584aae41e5e503f3cd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___private___macros.html#ga1cb9706d23fb79584aae41e5e503f3cd">IS_GPIO_PULL</a>(PULL)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-enum-members" class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga5b3ef0486b179415581eb342e0ea6b43" id="r_ga5b3ef0486b179415581eb342e0ea6b43"><td class="memItemLeft" align="right" valign="top"><a id="ga5b3ef0486b179415581eb342e0ea6b43" name="ga5b3ef0486b179415581eb342e0ea6b43"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___exported___types.html#ga5b3ef0486b179415581eb342e0ea6b43">GPIO_PinState</a> { <b>GPIO_PIN_RESET</b> = 0U
, <b>GPIO_PIN_SET</b>
 }</td></tr>
<tr class="memdesc:ga5b3ef0486b179415581eb342e0ea6b43"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Bit SET and Bit RESET enumeration. <br /></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga5c085397d0d8ff0d49edf2ba9658d786" id="r_ga5c085397d0d8ff0d49edf2ba9658d786"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><b>HAL_GPIO_Init</b> (<a class="el" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, const <a class="el" href="struct_g_p_i_o___init_type_def.html">GPIO_InitTypeDef</a> *GPIO_Init)</td></tr>
<tr class="memitem:gafe9c756b5aa18961032a3f8aa572959b" id="r_gafe9c756b5aa18961032a3f8aa572959b"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><b>HAL_GPIO_DeInit</b> (<a class="el" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t GPIO_Pin)</td></tr>
<tr class="memitem:gab76d427f12a868003d61726aecca8fd7" id="r_gab76d427f12a868003d61726aecca8fd7"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="group___g_p_i_o___exported___types.html#ga5b3ef0486b179415581eb342e0ea6b43">GPIO_PinState</a>&#160;</td><td class="memItemRight" valign="bottom"><b>HAL_GPIO_ReadPin</b> (const <a class="el" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint16_t GPIO_Pin)</td></tr>
<tr class="memitem:gaf4b97bdf533a02f51ef696d43b6da5c4" id="r_gaf4b97bdf533a02f51ef696d43b6da5c4"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><b>HAL_GPIO_WritePin</b> (<a class="el" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint16_t GPIO_Pin, <a class="el" href="group___g_p_i_o___exported___types.html#ga5b3ef0486b179415581eb342e0ea6b43">GPIO_PinState</a> PinState)</td></tr>
<tr class="memitem:gaf5e0c89f752de5cdedcc30db068133f6" id="r_gaf5e0c89f752de5cdedcc30db068133f6"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><b>HAL_GPIO_TogglePin</b> (<a class="el" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint16_t GPIO_Pin)</td></tr>
<tr class="memitem:gad03c868b4a4fb25883c1bb86d0c7e9ca" id="r_gad03c868b4a4fb25883c1bb86d0c7e9ca"><td class="memItemLeft" align="right" valign="top">
<a class="el" href="stm32h7xx__hal__def_8h.html#a63c0679d1cb8b8c684fbb0632743478f">HAL_StatusTypeDef</a>&#160;</td><td class="memItemRight" valign="bottom"><b>HAL_GPIO_LockPin</b> (<a class="el" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint16_t GPIO_Pin)</td></tr>
<tr class="memitem:gaa5de1ec4ebdd47e3e2b786224adaa9d0" id="r_gaa5de1ec4ebdd47e3e2b786224adaa9d0"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><b>HAL_GPIO_EXTI_IRQHandler</b> (uint16_t GPIO_Pin)</td></tr>
<tr class="memitem:ga0cd91fd3a9608559c2a87a8ba6cba55f" id="r_ga0cd91fd3a9608559c2a87a8ba6cba55f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_p_i_o___exported___functions___group2.html#ga0cd91fd3a9608559c2a87a8ba6cba55f">HAL_GPIO_EXTI_Callback</a> (uint16_t GPIO_Pin)</td></tr>
<tr class="memdesc:ga0cd91fd3a9608559c2a87a8ba6cba55f"><td class="mdescLeft">&#160;</td><td class="mdescRight">EXTI中断回调函数,根据GPIO_Pin找到对应的GPIOInstance,并调用模块回调函数(如果有)  <br /></td></tr>
</table>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Header file of GPIO HAL module. </p>
<dl class="section author"><dt>Author</dt><dd>MCD Application Team </dd></dl>
<dl class="section attention"><dt>Attention</dt><dd></dd></dl>
<p>Copyright (c) 2017 STMicroelectronics. All rights reserved.</p>
<p>This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a href="dir_60925fc218da8ca7908795bf5f624060.html">Drivers</a></li><li class="navelem"><a href="dir_7baec2ddb99168f99d1052c1aec46b20.html">STM32H7xx_HAL_Driver</a></li><li class="navelem"><a href="dir_4f22a8fa6199c96df71a89cbd7613f35.html">Inc</a></li><li class="navelem"><a href="stm32h7xx__hal__gpio_8h.html">stm32h7xx_hal_gpio.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.14.0 </li>
  </ul>
</div>
</body>
</html>
